<?php
/**
 * +-------------------------------------------------------------
 * |Caption:
 * +-------------------------------------------------------------
 * |Author: Lenny
 * +-------------------------------------------------------------
 * |Email:  1685964109@qq.com
 * +-------------------------------------------------------------
 * |Date:   2024/7/4 下午5:53
 * +-------------------------------------------------------------
 */

namespace app\admin\model;

use app\common\model\BaseModel;
use think\model\relation\BelongsTo;

class StoreAdmin extends BaseModel
{
    protected $hidden     = ['password','delete_time'];

    public function store(): BelongsTo
    {
        return $this->belongsTo(Store::class, 'store_id','id');
    }
}